<html>
	<head>
		<title>Welcome !</title>
		<link href="style.css" rel="stylesheet" type="text/css">
		<script type="text/javascript" src="functions.js"></script>
	</head>
	
	<body>
		<div id="content">
			<br />
			<?php require_once 'menu.php';?>
			<br />
			<br />
			<form action="<?php echo $_SERVER["PHP_SELF"]?>?action=displaySensorsForm" method="POST">
				<table id="table_form" cellspacing="5" cellpading="5">
					<thead>
						<tr>
							<th>Enter the number of rooms for each room type :</th>
						</tr>
					</thead>
					<tbody>
						<?php
							global $room_types;
							foreach ($room_types as $type) {
						?>
						<tr>
							<td>
								<input type="text" name="<?php echo $type?>_no" value="">
							</td>
							<td>
								<?php echo $type?>s
							</td>
						</tr>
						<?php
							}
						?>
					</tbody>
					<tfoot>
						<tr>
							<th>
								<input type="submit" name="submit_rooms" id="submit_rooms" value="submit">
							</th>
						</tr>
				</table>
			</form>
		</div>
	</body>
</html>